package com.ontheroad.central.service;

import java.util.HashMap;

import org.springframework.remoting.service.annotation.RemoteService;

import cn.modoumama.service.base.BaseService;

import com.ontheroad.central.model.CentralEntity;

/**
 * 中控模块业务
 * 
 */
@RemoteService
public interface CentralTopicService extends BaseService<CentralEntity, String> {

	/**
	 * 添加中控信息
	 * 
	 * @param centralEntity
	 * @return
	 */
	HashMap<String, Object> insertCentral(CentralEntity centralEntity)
			throws Exception;

	/**
	 * 查询中控版本号
	 * @param mac
	 * @return
	 * @throws Exception
	 */
	HashMap<String, Object> findCentralVersion(String mac)
			throws Exception;

}
